--------------------------------------------------------------------------------------
       log:  C:\Users\Andrew\Top Incomes\Amended tax tables\mergecheck.log
  log type:  text
 opened on:   5 Mar 2008, 13:44:24

. for num 1914(2)1918 1920/2004: use X,clear \ merge year using "C:\Users\Andrew\Top I
> ncomes\nataccounts.dta" \ keep if year==X \ egen grosstaxinc=sum(pincome) \ di gross
> taxinc/personalincome

->  use 1914,clear

->  merge year using `"C:\Users\Andrew\Top Incomes\nataccounts.dta"'
variable year does not uniquely identify observations in the master data

->  keep if year==1914
(92 observations deleted)

->  egen grosstaxinc=sum(pincome)

->  di grosstaxinc/personalincome
.06573995

->  use 1916,clear

->  merge year using `"C:\Users\Andrew\Top Incomes\nataccounts.dta"'
variable year does not uniquely identify observations in the master data

->  keep if year==1916
(92 observations deleted)

->  egen grosstaxinc=sum(pincome)

->  di grosstaxinc/personalincome
.30977521

->  use 1918,clear

->  merge year using `"C:\Users\Andrew\Top Incomes\nataccounts.dta"'
variable year does not uniquely identify observations in the master data

->  keep if year==1918
(92 observations deleted)

->  egen grosstaxinc=sum(pincome)

->  di grosstaxinc/personalincome
.3777367

->  use 1920,clear

->  merge year using `"C:\Users\Andrew\Top Incomes\nataccounts.dta"'
variable year does not uniquely identify observations in the master data

->  keep if year==1920
(92 observations deleted)

->  egen grosstaxinc=sum(pincome)

->  di grosstaxinc/personalincome
.39510718

->  use 1921,clear

->  merge year using `"C:\Users\Andrew\Top Incomes\nataccounts.dta"'
variable year does not uniquely identify observations in the master data

->  keep if year==1921
(92 observations deleted)

->  egen grosstaxinc=sum(pincome)

->  di grosstaxinc/personalincome
.21783645

->  use 1922,clear

->  merge year using `"C:\Users\Andrew\Top Incomes\nataccounts.dta"'
variable year does not uniquely identify observations in the master data

->  keep if year==1922
(92 observations deleted)

->  egen grosstaxinc=sum(pincome)

->  di grosstaxinc/personalincome
.19476289

->  use 1923,clear

->  merge year using `"C:\Users\Andrew\Top Incomes\nataccounts.dta"'
variable year does not uniquely identify observations in the master data

->  keep if year==1923
(92 observations deleted)

->  egen grosstaxinc=sum(pincome)

->  di grosstaxinc/personalincome
.15429973

->  use 1924,clear

->  merge year using `"C:\Users\Andrew\Top Incomes\nataccounts.dta"'
variable year does not uniquely identify observations in the master data

->  keep if year==1924
(92 observations deleted)

->  egen grosstaxinc=sum(pincome)

->  di grosstaxinc/personalincome
.15822493

->  use 1925,clear

->  merge year using `"C:\Users\Andrew\Top Incomes\nataccounts.dta"'
variable year does not uniquely identify observations in the master data

->  keep if year==1925
(92 observations deleted)

->  egen grosstaxinc=sum(pincome)

->  di grosstaxinc/personalincome
.15551032

->  use 1926,clear

->  merge year using `"C:\Users\Andrew\Top Incomes\nataccounts.dta"'
variable year does not uniquely identify observations in the master data

->  keep if year==1926
(92 observations deleted)

->  egen grosstaxinc=sum(pincome)

->  di grosstaxinc/personalincome
.15525268

->  use 1927,clear

->  merge year using `"C:\Users\Andrew\Top Incomes\nataccounts.dta"'
variable year does not uniquely identify observations in the master data

->  keep if year==1927
(92 observations deleted)

->  egen grosstaxinc=sum(pincome)

->  di grosstaxinc/personalincome
.17107583

->  use 1928,clear

->  merge year using `"C:\Users\Andrew\Top Incomes\nataccounts.dta"'
variable year does not uniquely identify observations in the master data

->  keep if year==1928
(92 observations deleted)

->  egen grosstaxinc=sum(pincome)

->  di grosstaxinc/personalincome
.16983561

->  use 1929,clear

->  merge year using `"C:\Users\Andrew\Top Incomes\nataccounts.dta"'
variable year does not uniquely identify observations in the master data

->  keep if year==1929
(92 observations deleted)

->  egen grosstaxinc=sum(pincome)

->  di grosstaxinc/personalincome
.16334109

->  use 1930,clear

->  merge year using `"C:\Users\Andrew\Top Incomes\nataccounts.dta"'
variable year does not uniquely identify observations in the master data

->  keep if year==1930
(92 observations deleted)

->  egen grosstaxinc=sum(pincome)

->  di grosstaxinc/personalincome
.1516564

->  use 1931,clear

->  merge year using `"C:\Users\Andrew\Top Incomes\nataccounts.dta"'
variable year does not uniquely identify observations in the master data

->  keep if year==1931
(92 observations deleted)

->  egen grosstaxinc=sum(pincome)

->  di grosstaxinc/personalincome
.13111531

->  use 1932,clear

->  merge year using `"C:\Users\Andrew\Top Incomes\nataccounts.dta"'
variable year does not uniquely identify observations in the master data

->  keep if year==1932
(92 observations deleted)

->  egen grosstaxinc=sum(pincome)

->  di grosstaxinc/personalincome
.12710808

->  use 1933,clear

->  merge year using `"C:\Users\Andrew\Top Incomes\nataccounts.dta"'
variable year does not uniquely identify observations in the master data

->  keep if year==1933
(92 observations deleted)

->  egen grosstaxinc=sum(pincome)

->  di grosstaxinc/personalincome
.14013023

->  use 1934,clear

->  merge year using `"C:\Users\Andrew\Top Incomes\nataccounts.dta"'
variable year does not uniquely identify observations in the master data

->  keep if year==1934
(92 observations deleted)

->  egen grosstaxinc=sum(pincome)

->  di grosstaxinc/personalincome
.14497019

->  use 1935,clear

->  merge year using `"C:\Users\Andrew\Top Incomes\nataccounts.dta"'
variable year does not uniquely identify observations in the master data

->  keep if year==1935
(92 observations deleted)

->  egen grosstaxinc=sum(pincome)

->  di grosstaxinc/personalincome
.14760131

->  use 1936,clear

->  merge year using `"C:\Users\Andrew\Top Incomes\nataccounts.dta"'
variable year does not uniquely identify observations in the master data

->  keep if year==1936
(92 observations deleted)

->  egen grosstaxinc=sum(pincome)

->  di grosstaxinc/personalincome
.16786001

->  use 1937,clear

->  merge year using `"C:\Users\Andrew\Top Incomes\nataccounts.dta"'
variable year does not uniquely identify observations in the master data

->  keep if year==1937
(92 observations deleted)

->  egen grosstaxinc=sum(pincome)

->  di grosstaxinc/personalincome
.15199517

->  use 1938,clear

->  merge year using `"C:\Users\Andrew\Top Incomes\nataccounts.dta"'
variable year does not uniquely identify observations in the master data

->  keep if year==1938
(92 observations deleted)

->  egen grosstaxinc=sum(pincome)

->  di grosstaxinc/personalincome
.16097165

->  use 1939,clear

->  merge year using `"C:\Users\Andrew\Top Incomes\nataccounts.dta"'
variable year does not uniquely identify observations in the master data

->  keep if year==1939
(92 observations deleted)

->  egen grosstaxinc=sum(pincome)

->  di grosstaxinc/personalincome
.23985906

->  use 1940,clear

->  merge year using `"C:\Users\Andrew\Top Incomes\nataccounts.dta"'
variable year does not uniquely identify observations in the master data

->  keep if year==1940
(92 observations deleted)

->  egen grosstaxinc=sum(pincome)

->  di grosstaxinc/personalincome
.25931719

->  use 1941,clear

->  merge year using `"C:\Users\Andrew\Top Incomes\nataccounts.dta"'
variable year does not uniquely identify observations in the master data

->  keep if year==1941
(92 observations deleted)

->  egen grosstaxinc=sum(pincome)

->  di grosstaxinc/personalincome
.5939826

->  use 1942,clear

->  merge year using `"C:\Users\Andrew\Top Incomes\nataccounts.dta"'
variable year does not uniquely identify observations in the master data

->  keep if year==1942
(92 observations deleted)

->  egen grosstaxinc=sum(pincome)

->  di grosstaxinc/personalincome
.6557471

->  use 1943,clear

->  merge year using `"C:\Users\Andrew\Top Incomes\nataccounts.dta"'
variable year does not uniquely identify observations in the master data

->  keep if year==1943
(92 observations deleted)

->  egen grosstaxinc=sum(pincome)

->  di grosstaxinc/personalincome
.66710553

->  use 1944,clear

->  merge year using `"C:\Users\Andrew\Top Incomes\nataccounts.dta"'
variable year does not uniquely identify observations in the master data

->  keep if year==1944
(92 observations deleted)

->  egen grosstaxinc=sum(pincome)

->  di grosstaxinc/personalincome
.62371027

->  use 1945,clear

->  merge year using `"C:\Users\Andrew\Top Incomes\nataccounts.dta"'
variable year does not uniquely identify observations in the master data

->  keep if year==1945
(92 observations deleted)

->  egen grosstaxinc=sum(pincome)

->  di grosstaxinc/personalincome
.57013941

->  use 1946,clear

->  merge year using `"C:\Users\Andrew\Top Incomes\nataccounts.dta"'
variable year does not uniquely identify observations in the master data

->  keep if year==1946
(92 observations deleted)

->  egen grosstaxinc=sum(pincome)

->  di grosstaxinc/personalincome
.69100479

->  use 1947,clear

->  merge year using `"C:\Users\Andrew\Top Incomes\nataccounts.dta"'
variable year does not uniquely identify observations in the master data

->  keep if year==1947
(92 observations deleted)

->  egen grosstaxinc=sum(pincome)

->  di grosstaxinc/personalincome
.71058039

->  use 1948,clear

->  merge year using `"C:\Users\Andrew\Top Incomes\nataccounts.dta"'
variable year does not uniquely identify observations in the master data

->  keep if year==1948
(92 observations deleted)

->  egen grosstaxinc=sum(pincome)

->  di grosstaxinc/personalincome
.7200056

->  use 1949,clear

->  merge year using `"C:\Users\Andrew\Top Incomes\nataccounts.dta"'
variable year does not uniquely identify observations in the master data

->  keep if year==1949
(92 observations deleted)

->  egen grosstaxinc=sum(pincome)

->  di grosstaxinc/personalincome
.73082435

->  use 1950,clear

->  merge year using `"C:\Users\Andrew\Top Incomes\nataccounts.dta"'
variable year does not uniquely identify observations in the master data

->  keep if year==1950
(92 observations deleted)

->  egen grosstaxinc=sum(pincome)

->  di grosstaxinc/personalincome
.64678688

->  use 1951,clear

->  merge year using `"C:\Users\Andrew\Top Incomes\nataccounts.dta"'
variable year does not uniquely identify observations in the master data

->  keep if year==1951
(92 observations deleted)

->  egen grosstaxinc=sum(pincome)

->  di grosstaxinc/personalincome
.64984872

->  use 1952,clear

->  merge year using `"C:\Users\Andrew\Top Incomes\nataccounts.dta"'
variable year does not uniquely identify observations in the master data

->  keep if year==1952
(92 observations deleted)

->  egen grosstaxinc=sum(pincome)

->  di grosstaxinc/personalincome
.66147159

->  use 1953,clear

->  merge year using `"C:\Users\Andrew\Top Incomes\nataccounts.dta"'
variable year does not uniquely identify observations in the master data

->  keep if year==1953
(92 observations deleted)

->  egen grosstaxinc=sum(pincome)

->  di grosstaxinc/personalincome
.66871854

->  use 1954,clear

->  merge year using `"C:\Users\Andrew\Top Incomes\nataccounts.dta"'
variable year does not uniquely identify observations in the master data

->  keep if year==1954
(92 observations deleted)

->  egen grosstaxinc=sum(pincome)

->  di grosstaxinc/personalincome
.67366629

->  use 1955,clear

->  merge year using `"C:\Users\Andrew\Top Incomes\nataccounts.dta"'
variable year does not uniquely identify observations in the master data

->  keep if year==1955
(92 observations deleted)

->  egen grosstaxinc=sum(pincome)

->  di grosstaxinc/personalincome
.67078658

->  use 1956,clear

->  merge year using `"C:\Users\Andrew\Top Incomes\nataccounts.dta"'
variable year does not uniquely identify observations in the master data

->  keep if year==1956
(92 observations deleted)

->  egen grosstaxinc=sum(pincome)

->  di grosstaxinc/personalincome
.67279694

->  use 1957,clear

->  merge year using `"C:\Users\Andrew\Top Incomes\nataccounts.dta"'
variable year does not uniquely identify observations in the master data

->  keep if year==1957
(92 observations deleted)

->  egen grosstaxinc=sum(pincome)

->  di grosstaxinc/personalincome
.65573374

->  use 1958,clear

->  merge year using `"C:\Users\Andrew\Top Incomes\nataccounts.dta"'
variable year does not uniquely identify observations in the master data

->  keep if year==1958
(92 observations deleted)

->  egen grosstaxinc=sum(pincome)

->  di grosstaxinc/personalincome
.8134047

->  use 1959,clear

->  merge year using `"C:\Users\Andrew\Top Incomes\nataccounts.dta"'
variable year does not uniquely identify observations in the master data

->  keep if year==1959
(92 observations deleted)

->  egen grosstaxinc=sum(pincome)

->  di grosstaxinc/personalincome
.81881834

->  use 1960,clear

->  merge year using `"C:\Users\Andrew\Top Incomes\nataccounts.dta"'
variable year does not uniquely identify observations in the master data

->  keep if year==1960
(92 observations deleted)

->  egen grosstaxinc=sum(pincome)

->  di grosstaxinc/personalincome
.82012174

->  use 1961,clear

->  merge year using `"C:\Users\Andrew\Top Incomes\nataccounts.dta"'
variable year does not uniquely identify observations in the master data

->  keep if year==1961
(92 observations deleted)

->  egen grosstaxinc=sum(pincome)

->  di grosstaxinc/personalincome
.81849973

->  use 1962,clear

->  merge year using `"C:\Users\Andrew\Top Incomes\nataccounts.dta"'
variable year does not uniquely identify observations in the master data

->  keep if year==1962
(92 observations deleted)

->  egen grosstaxinc=sum(pincome)

->  di grosstaxinc/personalincome
.82618086

->  use 1963,clear

->  merge year using `"C:\Users\Andrew\Top Incomes\nataccounts.dta"'
variable year does not uniquely identify observations in the master data

->  keep if year==1963
(92 observations deleted)

->  egen grosstaxinc=sum(pincome)

->  di grosstaxinc/personalincome
.80894779

->  use 1964,clear

->  merge year using `"C:\Users\Andrew\Top Incomes\nataccounts.dta"'
variable year does not uniquely identify observations in the master data

->  keep if year==1964
(92 observations deleted)

->  egen grosstaxinc=sum(pincome)

->  di grosstaxinc/personalincome
.81084736

->  use 1965,clear

->  merge year using `"C:\Users\Andrew\Top Incomes\nataccounts.dta"'
variable year does not uniquely identify observations in the master data

->  keep if year==1965
(92 observations deleted)

->  egen grosstaxinc=sum(pincome)

->  di grosstaxinc/personalincome
.81138332

->  use 1966,clear

->  merge year using `"C:\Users\Andrew\Top Incomes\nataccounts.dta"'
variable year does not uniquely identify observations in the master data

->  keep if year==1966
(92 observations deleted)

->  egen grosstaxinc=sum(pincome)

->  di grosstaxinc/personalincome
.79093095

->  use 1967,clear

->  merge year using `"C:\Users\Andrew\Top Incomes\nataccounts.dta"'
variable year does not uniquely identify observations in the master data

->  keep if year==1967
(92 observations deleted)

->  egen grosstaxinc=sum(pincome)

->  di grosstaxinc/personalincome
.79474588

->  use 1968,clear

->  merge year using `"C:\Users\Andrew\Top Incomes\nataccounts.dta"'
variable year does not uniquely identify observations in the master data

->  keep if year==1968
(92 observations deleted)

->  egen grosstaxinc=sum(pincome)

->  di grosstaxinc/personalincome
.79314373

->  use 1969,clear

->  merge year using `"C:\Users\Andrew\Top Incomes\nataccounts.dta"'
variable year does not uniquely identify observations in the master data

->  keep if year==1969
(92 observations deleted)

->  egen grosstaxinc=sum(pincome)

->  di grosstaxinc/personalincome
.78534768

->  use 1970,clear

->  merge year using `"C:\Users\Andrew\Top Incomes\nataccounts.dta"'
variable year does not uniquely identify observations in the master data

->  keep if year==1970
(92 observations deleted)

->  egen grosstaxinc=sum(pincome)

->  di grosstaxinc/personalincome
.7918782

->  use 1971,clear

->  merge year using `"C:\Users\Andrew\Top Incomes\nataccounts.dta"'
variable year does not uniquely identify observations in the master data

->  keep if year==1971
(92 observations deleted)

->  egen grosstaxinc=sum(pincome)

->  di grosstaxinc/personalincome
.79712646

->  use 1972,clear

->  merge year using `"C:\Users\Andrew\Top Incomes\nataccounts.dta"'
variable year does not uniquely identify observations in the master data

->  keep if year==1972
(92 observations deleted)

->  egen grosstaxinc=sum(pincome)

->  di grosstaxinc/personalincome
.74044231

->  use 1973,clear

->  merge year using `"C:\Users\Andrew\Top Incomes\nataccounts.dta"'
variable year does not uniquely identify observations in the master data

->  keep if year==1973
(92 observations deleted)

->  egen grosstaxinc=sum(pincome)

->  di grosstaxinc/personalincome
.7323242

->  use 1974,clear

->  merge year using `"C:\Users\Andrew\Top Incomes\nataccounts.dta"'
variable year does not uniquely identify observations in the master data

->  keep if year==1974
(92 observations deleted)

->  egen grosstaxinc=sum(pincome)

->  di grosstaxinc/personalincome
.73520756

->  use 1975,clear

->  merge year using `"C:\Users\Andrew\Top Incomes\nataccounts.dta"'
variable year does not uniquely identify observations in the master data

->  keep if year==1975
(92 observations deleted)

->  egen grosstaxinc=sum(pincome)

->  di grosstaxinc/personalincome
.71437455

->  use 1976,clear

->  merge year using `"C:\Users\Andrew\Top Incomes\nataccounts.dta"'
variable year does not uniquely identify observations in the master data

->  keep if year==1976
(92 observations deleted)

->  egen grosstaxinc=sum(pincome)

->  di grosstaxinc/personalincome
.72969247

->  use 1977,clear

->  merge year using `"C:\Users\Andrew\Top Incomes\nataccounts.dta"'
variable year does not uniquely identify observations in the master data

->  keep if year==1977
(92 observations deleted)

->  egen grosstaxinc=sum(pincome)

->  di grosstaxinc/personalincome
.72949405

->  use 1978,clear

->  merge year using `"C:\Users\Andrew\Top Incomes\nataccounts.dta"'
variable year does not uniquely identify observations in the master data

->  keep if year==1978
(92 observations deleted)

->  egen grosstaxinc=sum(pincome)

->  di grosstaxinc/personalincome
.72231947

->  use 1979,clear

->  merge year using `"C:\Users\Andrew\Top Incomes\nataccounts.dta"'
variable year does not uniquely identify observations in the master data

->  keep if year==1979
(92 observations deleted)

->  egen grosstaxinc=sum(pincome)

->  di grosstaxinc/personalincome
.72222638

->  use 1980,clear

->  merge year using `"C:\Users\Andrew\Top Incomes\nataccounts.dta"'
variable year does not uniquely identify observations in the master data

->  keep if year==1980
(92 observations deleted)

->  egen grosstaxinc=sum(pincome)

->  di grosstaxinc/personalincome
.74149734

->  use 1981,clear

->  merge year using `"C:\Users\Andrew\Top Incomes\nataccounts.dta"'
variable year does not uniquely identify observations in the master data

->  keep if year==1981
(92 observations deleted)

->  egen grosstaxinc=sum(pincome)

->  di grosstaxinc/personalincome
.7462471

->  use 1982,clear

->  merge year using `"C:\Users\Andrew\Top Incomes\nataccounts.dta"'
variable year does not uniquely identify observations in the master data

->  keep if year==1982
(92 observations deleted)

->  egen grosstaxinc=sum(pincome)

->  di grosstaxinc/personalincome
.73888333

->  use 1983,clear

->  merge year using `"C:\Users\Andrew\Top Incomes\nataccounts.dta"'
variable year does not uniquely identify observations in the master data

->  keep if year==1983
(92 observations deleted)

->  egen grosstaxinc=sum(pincome)

->  di grosstaxinc/personalincome
.72612932

->  use 1984,clear

->  merge year using `"C:\Users\Andrew\Top Incomes\nataccounts.dta"'
variable year does not uniquely identify observations in the master data

->  keep if year==1984
(92 observations deleted)

->  egen grosstaxinc=sum(pincome)

->  di grosstaxinc/personalincome
.73492757

->  use 1985,clear

->  merge year using `"C:\Users\Andrew\Top Incomes\nataccounts.dta"'
variable year does not uniquely identify observations in the master data

->  keep if year==1985
(92 observations deleted)

->  egen grosstaxinc=sum(pincome)

->  di grosstaxinc/personalincome
.75817178

->  use 1986,clear

->  merge year using `"C:\Users\Andrew\Top Incomes\nataccounts.dta"'
variable year does not uniquely identify observations in the master data

->  keep if year==1986
(92 observations deleted)

->  egen grosstaxinc=sum(pincome)

->  di grosstaxinc/personalincome
.77089492

->  use 1987,clear

->  merge year using `"C:\Users\Andrew\Top Incomes\nataccounts.dta"'
variable year does not uniquely identify observations in the master data

->  keep if year==1987
(92 observations deleted)

->  egen grosstaxinc=sum(pincome)

->  di grosstaxinc/personalincome
.81924803

->  use 1988,clear

->  merge year using `"C:\Users\Andrew\Top Incomes\nataccounts.dta"'
variable year does not uniquely identify observations in the master data

->  keep if year==1988
(92 observations deleted)

->  egen grosstaxinc=sum(pincome)

->  di grosstaxinc/personalincome
.83535338

->  use 1989,clear

->  merge year using `"C:\Users\Andrew\Top Incomes\nataccounts.dta"'
variable year does not uniquely identify observations in the master data

->  keep if year==1989
(92 observations deleted)

->  egen grosstaxinc=sum(pincome)

->  di grosstaxinc/personalincome
.79337889

->  use 1990,clear

->  merge year using `"C:\Users\Andrew\Top Incomes\nataccounts.dta"'
variable year does not uniquely identify observations in the master data

->  keep if year==1990
(92 observations deleted)

->  egen grosstaxinc=sum(pincome)

->  di grosstaxinc/personalincome
.77706737

->  use 1991,clear

->  merge year using `"C:\Users\Andrew\Top Incomes\nataccounts.dta"'
variable year does not uniquely identify observations in the master data

->  keep if year==1991
(92 observations deleted)

->  egen grosstaxinc=sum(pincome)

->  di grosstaxinc/personalincome
.77590369

->  use 1992,clear

->  merge year using `"C:\Users\Andrew\Top Incomes\nataccounts.dta"'
variable year does not uniquely identify observations in the master data

->  keep if year==1992
(92 observations deleted)

->  egen grosstaxinc=sum(pincome)

->  di grosstaxinc/personalincome
.76989166

->  use 1993,clear

->  merge year using `"C:\Users\Andrew\Top Incomes\nataccounts.dta"'
variable year does not uniquely identify observations in the master data

->  keep if year==1993
(92 observations deleted)

->  egen grosstaxinc=sum(pincome)

->  di grosstaxinc/personalincome
.7807485

->  use 1994,clear

->  merge year using `"C:\Users\Andrew\Top Incomes\nataccounts.dta"'
variable year does not uniquely identify observations in the master data

->  keep if year==1994
(92 observations deleted)

->  egen grosstaxinc=sum(pincome)

->  di grosstaxinc/personalincome
.7825263

->  use 1995,clear

->  merge year using `"C:\Users\Andrew\Top Incomes\nataccounts.dta"'
variable year does not uniquely identify observations in the master data

->  keep if year==1995
(92 observations deleted)

->  egen grosstaxinc=sum(pincome)

->  di grosstaxinc/personalincome
.77646874

->  use 1996,clear

->  merge year using `"C:\Users\Andrew\Top Incomes\nataccounts.dta"'
variable year does not uniquely identify observations in the master data

->  keep if year==1996
(92 observations deleted)

->  egen grosstaxinc=sum(pincome)

->  di grosstaxinc/personalincome
.76711804

->  use 1997,clear

->  merge year using `"C:\Users\Andrew\Top Incomes\nataccounts.dta"'
variable year does not uniquely identify observations in the master data

->  keep if year==1997
(92 observations deleted)

->  egen grosstaxinc=sum(pincome)

->  di grosstaxinc/personalincome
.78213301

->  use 1998,clear

->  merge year using `"C:\Users\Andrew\Top Incomes\nataccounts.dta"'
variable year does not uniquely identify observations in the master data

->  keep if year==1998
(92 observations deleted)

->  egen grosstaxinc=sum(pincome)

->  di grosstaxinc/personalincome
.7568982

->  use 1999,clear

->  merge year using `"C:\Users\Andrew\Top Incomes\nataccounts.dta"'
variable year does not uniquely identify observations in the master data

->  keep if year==1999
(92 observations deleted)

->  egen grosstaxinc=sum(pincome)

->  di grosstaxinc/personalincome
.79030083

->  use 2000,clear

->  merge year using `"C:\Users\Andrew\Top Incomes\nataccounts.dta"'
variable year does not uniquely identify observations in the master data

->  keep if year==2000
(92 observations deleted)

->  egen grosstaxinc=sum(pincome)

->  di grosstaxinc/personalincome
.76901276

->  use 2001,clear

->  merge year using `"C:\Users\Andrew\Top Incomes\nataccounts.dta"'
variable year does not uniquely identify observations in the master data

->  keep if year==2001
(92 observations deleted)

->  egen grosstaxinc=sum(pincome)

->  di grosstaxinc/personalincome
.75778952

->  use 2002,clear

->  merge year using `"C:\Users\Andrew\Top Incomes\nataccounts.dta"'
variable year does not uniquely identify observations in the master data

->  keep if year==2002
(92 observations deleted)

->  egen grosstaxinc=sum(pincome)

->  di grosstaxinc/personalincome
.76984038

->  use 2003,clear

->  merge year using `"C:\Users\Andrew\Top Incomes\nataccounts.dta"'
variable year does not uniquely identify observations in the master data

->  keep if year==2003
(92 observations deleted)

->  egen grosstaxinc=sum(pincome)

->  di grosstaxinc/personalincome
.78578268

->  use 2004,clear

->  merge year using `"C:\Users\Andrew\Top Incomes\nataccounts.dta"'
variable year does not uniquely identify observations in the master data

->  keep if year==2004
(92 observations deleted)

->  egen grosstaxinc=sum(pincome)

->  di grosstaxinc/personalincome
.74633306

. for num 1912/1921 1923: use Xv,clear \ merge year using "C:\Users\Andrew\Top Incomes
> \nataccounts-vic.dta" \ keep if year==X \ egen grosstaxinc=sum(pincome) \ di grossta
> xinc/personalincome

->  use 1912v,clear

->  merge year using `"C:\Users\Andrew\Top Incomes\nataccounts-vic.dta"'
variable year does not uniquely identify observations in the master data

->  keep if year==1912
(113 observations deleted)

->  egen grosstaxinc=sum(pincome)

->  di grosstaxinc/personalincome
.1799627

->  use 1913v,clear

->  merge year using `"C:\Users\Andrew\Top Incomes\nataccounts-vic.dta"'
variable year does not uniquely identify observations in the master data

->  keep if year==1913
(113 observations deleted)

->  egen grosstaxinc=sum(pincome)

->  di grosstaxinc/personalincome
.16973307

->  use 1914v,clear

->  merge year using `"C:\Users\Andrew\Top Incomes\nataccounts-vic.dta"'
variable year does not uniquely identify observations in the master data

->  keep if year==1914
(113 observations deleted)

->  egen grosstaxinc=sum(pincome)

->  di grosstaxinc/personalincome
.14895441

->  use 1915v,clear

->  merge year using `"C:\Users\Andrew\Top Incomes\nataccounts-vic.dta"'
variable year does not uniquely identify observations in the master data

->  keep if year==1915
(113 observations deleted)

->  egen grosstaxinc=sum(pincome)

->  di grosstaxinc/personalincome
.14489547

->  use 1916v,clear

->  merge year using `"C:\Users\Andrew\Top Incomes\nataccounts-vic.dta"'
variable year does not uniquely identify observations in the master data

->  keep if year==1916
(113 observations deleted)

->  egen grosstaxinc=sum(pincome)

->  di grosstaxinc/personalincome
.120052

->  use 1917v,clear

->  merge year using `"C:\Users\Andrew\Top Incomes\nataccounts-vic.dta"'
variable year does not uniquely identify observations in the master data

->  keep if year==1917
(113 observations deleted)

->  egen grosstaxinc=sum(pincome)

->  di grosstaxinc/personalincome
.13222876

->  use 1918v,clear

->  merge year using `"C:\Users\Andrew\Top Incomes\nataccounts-vic.dta"'
variable year does not uniquely identify observations in the master data

->  keep if year==1918
(113 observations deleted)

->  egen grosstaxinc=sum(pincome)

->  di grosstaxinc/personalincome
.12676331

->  use 1919v,clear

->  merge year using `"C:\Users\Andrew\Top Incomes\nataccounts-vic.dta"'
variable year does not uniquely identify observations in the master data

->  keep if year==1919
(113 observations deleted)

->  egen grosstaxinc=sum(pincome)

->  di grosstaxinc/personalincome
.19611543

->  use 1920v,clear

->  merge year using `"C:\Users\Andrew\Top Incomes\nataccounts-vic.dta"'
variable year does not uniquely identify observations in the master data

->  keep if year==1920
(113 observations deleted)

->  egen grosstaxinc=sum(pincome)

->  di grosstaxinc/personalincome
.18999874

->  use 1921v,clear

->  merge year using `"C:\Users\Andrew\Top Incomes\nataccounts-vic.dta"'
variable year does not uniquely identify observations in the master data

->  keep if year==1921
(113 observations deleted)

->  egen grosstaxinc=sum(pincome)

->  di grosstaxinc/personalincome
.18229507

->  use 1923v,clear

->  merge year using `"C:\Users\Andrew\Top Incomes\nataccounts-vic.dta"'
variable year does not uniquely identify observations in the master data

->  keep if year==1923
(113 observations deleted)

->  egen grosstaxinc=sum(pincome)

->  di grosstaxinc/personalincome
.20797922

. for num 1976 1993/2004: use Xpsalary,clear \  merge year using "C:\Users\Andrew\Top 
> Incomes\nataccounts.dta" \ keep if year==X \ egen grosssalary=sum(psalary) \ di gros
> ssalary/personalincome

->  use 1976psalary,clear

->  merge year using `"C:\Users\Andrew\Top Incomes\nataccounts.dta"'
variable year does not uniquely identify observations in the master data

->  keep if year==1976
(92 observations deleted)

->  egen grosssalary=sum(psalary)

->  di grosssalary/personalincome
.55554872

->  use 1993psalary,clear

->  merge year using `"C:\Users\Andrew\Top Incomes\nataccounts.dta"'
variable year does not uniquely identify observations in the master data

->  keep if year==1993
(92 observations deleted)

->  egen grosssalary=sum(psalary)

->  di grosssalary/personalincome
.65499983

->  use 1994psalary,clear

->  merge year using `"C:\Users\Andrew\Top Incomes\nataccounts.dta"'
variable year does not uniquely identify observations in the master data

->  keep if year==1994
(92 observations deleted)

->  egen grosssalary=sum(psalary)

->  di grosssalary/personalincome
.65362674

->  use 1995psalary,clear

->  merge year using `"C:\Users\Andrew\Top Incomes\nataccounts.dta"'
variable year does not uniquely identify observations in the master data

->  keep if year==1995
(92 observations deleted)

->  egen grosssalary=sum(psalary)

->  di grosssalary/personalincome
.6456048

->  use 1996psalary,clear

->  merge year using `"C:\Users\Andrew\Top Incomes\nataccounts.dta"'
variable year does not uniquely identify observations in the master data

->  keep if year==1996
(92 observations deleted)

->  egen grosssalary=sum(psalary)

->  di grosssalary/personalincome
.66453868

->  use 1997psalary,clear

->  merge year using `"C:\Users\Andrew\Top Incomes\nataccounts.dta"'
variable year does not uniquely identify observations in the master data

->  keep if year==1997
(92 observations deleted)

->  egen grosssalary=sum(psalary)

->  di grosssalary/personalincome
.67286982

->  use 1998psalary,clear

->  merge year using `"C:\Users\Andrew\Top Incomes\nataccounts.dta"'
variable year does not uniquely identify observations in the master data

->  keep if year==1998
(92 observations deleted)

->  egen grosssalary=sum(psalary)

->  di grosssalary/personalincome
.62969344

->  use 1999psalary,clear

->  merge year using `"C:\Users\Andrew\Top Incomes\nataccounts.dta"'
variable year does not uniquely identify observations in the master data

->  keep if year==1999
(92 observations deleted)

->  egen grosssalary=sum(psalary)

->  di grosssalary/personalincome
.6713891

->  use 2000psalary,clear

->  merge year using `"C:\Users\Andrew\Top Incomes\nataccounts.dta"'
variable year does not uniquely identify observations in the master data

->  keep if year==2000
(92 observations deleted)

->  egen grosssalary=sum(psalary)

->  di grosssalary/personalincome
.5831815

->  use 2001psalary,clear

->  merge year using `"C:\Users\Andrew\Top Incomes\nataccounts.dta"'
variable year does not uniquely identify observations in the master data

->  keep if year==2001
(92 observations deleted)

->  egen grosssalary=sum(psalary)

->  di grosssalary/personalincome
.58441024

->  use 2002psalary,clear

->  merge year using `"C:\Users\Andrew\Top Incomes\nataccounts.dta"'
variable year does not uniquely identify observations in the master data

->  keep if year==2002
(92 observations deleted)

->  egen grosssalary=sum(psalary)

->  di grosssalary/personalincome
.59820939

->  use 2003psalary,clear

->  merge year using `"C:\Users\Andrew\Top Incomes\nataccounts.dta"'
variable year does not uniquely identify observations in the master data

->  keep if year==2003
(92 observations deleted)

->  egen grosssalary=sum(psalary)

->  di grosssalary/personalincome
.59971482

->  use 2004psalary,clear

->  merge year using `"C:\Users\Andrew\Top Incomes\nataccounts.dta"'
variable year does not uniquely identify observations in the master data

->  keep if year==2004
(92 observations deleted)

->  egen grosssalary=sum(psalary)

->  di grosssalary/personalincome
.56560407

. log close
       log:  C:\Users\Andrew\Top Incomes\Amended tax tables\mergecheck.log
  log type:  text
 closed on:   5 Mar 2008, 13:44:25
--------------------------------------------------------------------------------------
